package com.ruoyi.foodworks.domain;

import lombok.Data;

import java.util.Date;

/**
 * 评论回复对象 comment_replies
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
@Data
public class CommentReply {
    private static final long serialVersionUID = 1L;

    /** 回复ID */
    private Long id;

    /** 评论ID */
    private Long commentId;

    /** 用户ID */
    private Long userId;

    /** 回复内容 */
    private String content;

    /** 回复目标用户名 */
    private String targetUsername;

    /** 创建时间 */
    private Date createTime;

    // 关联字段（通过JOIN查询获取）
    private String username;

    private String avatar;

    private Integer likeCount;

    private Boolean isLiked;
}
